//
//  LogoutButtonCell.m
//  YoucApp
//
//  Created by 21CN Vgo on 12/3/12.
//
//

#import "LogoutButtonCell.h"
#import "UserManager.h"

@implementation LogoutButtonCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)click_logout:(id)sender
{
	[[UserManager instance] doLogout];
}

@end
